<section class="main">
	<header>
		<div id="header_login">
			<h1>Login</h1>
		</div>
	</header>
	<div>
		<form action="/login" method="post">
			Username : <input type="text" name="username" min="4" max="32" />
			Password : <input type="password" name="password" min="6" max="32" />
			<button type="submit" value="Login" id="btnLogin">Login</button>
		</form>
	</div>
</section>

<script>
$('#btnLogin').submit(function() {
  var username = $('input:[name=username]').val(),
      pwd = $('input:[name=password]').val();
  
  var post_data = {
    "username" : username,
    "pwd"      : pwd
  };
  
  
});
</script>
